//
//  RecommendFoodView.m
//  Karaoke
//
//  Created by 蒋 浩锋 on 12-8-28.
//  Copyright (c) 2012年 Jiang Haofeng. All rights reserved.
//

#import "RecommendFoodView.h"

@implementation RecommendFoodView
@synthesize foodPic;
@synthesize lblName;
@synthesize lblDanJia;
@synthesize lblDanWei;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];

    if (self)
    {
        // Initialization code
    }

    return self;
}

- (RecommendFoodView *)initWithXib
{
    self = [[[NSBundle mainBundle] loadNibNamed:@"RecommendFoodView" owner:self options:nil] lastObject];

    if (self)
    {
        foodPic.backgroundColor = [UIColor clearColor];
        foodPic.layer.borderColor = [UIColor whiteColor].CGColor;
        foodPic.layer.borderWidth = 5.0;
        foodPic.layer.masksToBounds = YES;
        foodPic.layer.cornerRadius = 10.0;
    }

    return self;
}

/*
 *   // Only override drawRect: if you perform custom drawing.
 *   // An empty implementation adversely affects performance during animation.
 *   - (void)drawRect:(CGRect)rect
 *   {
 *    // Drawing code
 *   }
 */

@end